package jwdt.xadmin.info.bean;

import jwdt.xadmin.system.bean.TUser;

import com.ezerg.db.Jdb;
import com.ezerg.db.annotation.Column;
import com.ezerg.db.annotation.Table;

@Table(name="t_review", keys={"reviewid"}, comment="")
public class TReview implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	@Column(value="reviewid", comment="")
	private String reviewid;
	
	@Column(value="newsid", comment="")
	private Integer newsid;
	
	@Column(value="userid", comment="")
	private Integer userid;
	
	@Column(value="content", comment="")
	private String content;
	
	@Column(value="editor", comment="")
	private String editor;
	
//	@Column(value="author", comment="")
//	private String author;
	
//	@Column(value="passed", comment="")
//	private Integer passed;
	
//	@Column(value="reviewip", comment="")
//	private String reviewip;
	
	@Column(value="updatetime", comment="")
	private String updatetime;
	
	@Column(value="dt", comment="")
	private String dt;
	
	@Column(value="email", comment="")
	private String email;
	
//	@Column(value="froms", comment="")
//	private String froms;
	
//	@Column(value="face", comment="")
//	private String face;
	
//	@Column(value="homepage", comment="")
//	private String homepage;
//	
//	@Column(value="shengfen", comment="")
//	private String shengfen;
//	
//	@Column(value="oicq", comment="")
//	private String oicq;
//	
//	@Column(value="reply", comment="")
//	private String reply;
//	
//	@Column(value="title", comment="")
//	private String title;
	
	
	//标题
	public TUser getUser() {
		return (TUser)Jdb.get().get(TUser.class, this.newsid);
	}
	
	public String getReviewid() {
		return reviewid;
	}
	
	public void setReviewid(String reviewid) {
		this.reviewid = reviewid;
	}
	public Integer getNewsid() {
		return newsid;
	}
	
	public void setNewsid(Integer newsid) {
		this.newsid = newsid;
	}
	
	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	public String getEditor() {
		return editor;
	}
	
	public void setEditor(String editor) {
		this.editor = editor;
	}
//	public String getAuthor() {
//		return author;
//	}
//	
//	public void setAuthor(String author) {
//		this.author = author;
//	}
//	public Integer getPassed() {
//		return passed;
//	}
//	
//	public void setPassed(Integer passed) {
//		this.passed = passed;
//	}
//	public String getReviewip() {
//		return reviewip;
//	}
//	
//	public void setReviewip(String reviewip) {
//		this.reviewip = reviewip;
//	}
	public String getUpdatetime() {
		return updatetime;
	}
	
	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}
	
	public String getDt() {
		return dt;
	}

	public void setDt(String dt) {
		this.dt = dt;
	}
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
//	public String getFroms() {
//		return froms;
//	}
//	
//	public void setFroms(String froms) {
//		this.froms = froms;
//	}
//	public String getFace() {
//		return face;
//	}
//	
//	public void setFace(String face) {
//		this.face = face;
//	}
//	public String getHomepage() {
//		return homepage;
//	}
//	
//	public void setHomepage(String homepage) {
//		this.homepage = homepage;
//	}
//	public String getShengfen() {
//		return shengfen;
//	}
//	
//	public void setShengfen(String shengfen) {
//		this.shengfen = shengfen;
//	}
//	public String getOicq() {
//		return oicq;
//	}
//	
//	public void setOicq(String oicq) {
//		this.oicq = oicq;
//	}
//	public String getReply() {
//		return reply;
//	}
//	
//	public void setReply(String reply) {
//		this.reply = reply;
//	}
//	public String getTitle() {
//		return title;
//	}
//	
//	public void setTitle(String title) {
//		this.title = title;
//	}
}
